package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "company_pic")
public class CompanyPic {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 照片路径
     */
    @TableField(value = "img")
    private String img;

    /**
     * 公司id
     */
    @TableField(value = "company_id")
    private Integer companyId;
    @TableField(value = "company",exist = false)
    private Company company;
    /**
     * 添加时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_IMG = "img";

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_ENABLE = "enable";
}